<template>
  <div id="data-view">
    <dv-full-screen-container>
      <div class="main-header">
            <dv-decoration-8 class="header-left-decoration" />
            <dv-decoration-5 class="header-center-decoration" />
            <dv-decoration-8 class="header-right-decoration" :reverse="true" />
            <div class="center-title">智能监控综合数据图</div>
      </div>

      <div class="main-container">
        <div class="left-chart-container">
          <Left-Chart-1 />
          <Left-Chart-2 />
          <Left-Chart-3 />
        </div>

        <div class="right-main-container">
          <div class="rmc-top-container">
              <Center-Cmp />
          </div>
             <div class="rmctc-right-container">
              <dv-border-box-13 class="rmctc-chart-1">
                <Right-Chart-1 />
              </dv-border-box-13>
              <dv-border-box-13 class="rmctc-chart-2">
                <Right-Chart-2 />
              </dv-border-box-13>
              <dv-border-box-13 class="rmctc-chart-1">
                <Right-Table/>
              </dv-border-box-13>
            </div>
        </div>
      </div>
    </dv-full-screen-container>
  </div>
</template>

<script>
import LeftChart1 from './LeftChart1'
import LeftChart2 from './LeftChart2'
import LeftChart3 from './LeftChart3'
import CenterCmp from './CenterCmp'
import RightChart1 from './RightChart1'
import RightChart2 from './RightChart2'
import RightTable from './RightTable.vue'
export default {
  name: 'DataView',
  components: {
    LeftChart1,
    LeftChart2,
    LeftChart3,
    CenterCmp,
    RightChart1,
    RightChart2,
    RightTable
  },
  data () {
    return {}
  }
}
</script>

<style lang="less">
#data-view {
  width: 100%;
  height: 100%;
  background-color: #030409;
  color: #fff;

  #dv-full-screen-container {
    background-image: url('./img/bg.png');
    background-size: 100% 100%;
    box-shadow: 0 0 3px blue;
    display: flex;
    flex-direction: column;
  }

  .main-header {
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;

  .header-center-decoration {
    height: 60px;
    margin-top: 30px;
  }

  .header-left-decoration, .header-right-decoration {
    height: 60px;
  }

  .center-title {
    position: absolute;
    font-size: 30px;
    font-weight: bold;
    left: 50%;
    top: 15px;
    transform: translateX(-50%);
  }
}

  .main-container {
    display: flex;
    justify-content: space-between;
    height: calc(~"100% - 100px");

    .border-box-content {
      padding: 20px;
      box-sizing: border-box;
      display: flex;
    }
  }

  .left-chart-container {
    width: 30%;
    padding: 10px;
    box-sizing: border-box;
    .border-box-content {
      flex-direction: column;
    }
  }

  .right-main-container {
    width: 70%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
  }

  .rmc-top-container {
    height: 98%;
    width: 100%;
  }

  .rmctc-right-container {
    width: 65%;
  }

  .rmc-bottom-container {
    height: 35%;
  }

  .rmctc-chart-1, .rmctc-chart-2 {
    height: 33.3%;
  }
}
</style>
